package com.mis.pos.dto;

/**
 * @Description 库存管理表格DTO
 * @Author yuxiang
 * @CreatedDate 2019/11/26 9:07
 */
public class InventoryDTO {

    /**
     * 商品id
     */
    private Long itemId;

    /**
     * 商品名称
     */
    private String itemName;

    /**
     * 商品数量
     */
    private Long amount;

    /**
     * 是否在售卖中 0代表已下架 1代表售卖中
     */
    private int isSaled;


    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public int getIsSaled() {
        return isSaled;
    }

    public void setIsSaled(int isSaled) {
        this.isSaled = isSaled;
    }

    public InventoryDTO() {
    }

    public InventoryDTO(Long itemId, String itemName, Long amount, int isSaled) {
        this.itemId = itemId;
        this.itemName = itemName;
        this.amount = amount;
        this.isSaled = isSaled;
    }
}
